package ar.com.cubika.trainees.exceptions;

import java.util.List;

public class BusinessCompositeException extends RuntimeException {

    private List messages;
    
	public BusinessCompositeException(List messages, Throwable cause) {
		super(cause);
        this.messages = messages;
	}

	public BusinessCompositeException(List messages) {
        super();
        this.messages = messages;
	}

	public BusinessCompositeException(Throwable cause) {
		super(cause);
	}
    
    public List getMessages() {
        return this.messages;
    }
	
}
